/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
:global { // DX-11429 TODO reafactor component to use css modules instead fo global classes

  .drop-down-hints{
    position: absolute;
    background-color: #f5f5f5;
    z-index: 99;
    border: 1px solid #bebebe;
    border-radius: 2px;
    padding: 2px 0 2px 0;
    min-width: 150px;

    .name-header {
      padding-top: 5px;
      padding-left: 10px;
      padding-right: 5px;
      padding-bottom: 0px;
      color: #000;
    }

    .name-type {
      padding-left: 10px;
      padding-bottom: 0px;
      padding-right: 5px;
      color: #000;
    }

    .name-description {
      padding-left: 10px;
      padding-bottom: 10px;
      padding-right: 5px;
      color: #000;
    }

    .name-text {
      color: gray;
      padding-left: 10px;
      padding-bottom: 0px;
      padding-right: 5px;
    }

    .items-header{
      color: #9e9e9e;
      padding: 2px 4px 0 5px;
    }

    .description{
      padding: 2px 4px 0 5px;
      color: black;

      .variable-type{
        font-style: italic;
      }
    }

    .hint{
      cursor: pointer;
      padding: 0 0 0 10px;

      .hint-title{
        color: black;
      }

      .hint-description {
        transition: all .3s;
        max-height: 0;
        overflow: hidden;
        color: #9e9e9e;

        .example{
          font-style: italic;
        }
      }
    }

    .hint:hover{
      background-color: #e5e5e5;


      .hint-description{
        transition: all .5s;
        max-height: 100px;
      }
    }
  }
}
